DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage3D Class / SetTransferFunction Method / SetTransferFunction(Single,Single,SKColor[]) Method
The minimum pixel value.
The maximum pixel value.
The color array for mapping.



In This Topic
    SetTransferFunction(Single,Single,SKColor[]) Method
    In This Topic
    Sets the transfer function for volume rendering.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetTransferFunction( _
       ByVal Min As Single, _
       ByVal Max As Single, _
       ByVal Colours() As SkiaSharp.SKColor _
    ) 
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim Min As Single
    Dim Max As Single
    Dim Colours() As SkiaSharp.SKColor
     
    instance.SetTransferFunction(Min, Max, Colours)
    public void SetTransferFunction( 
       float Min,
       float Max,
       SkiaSharp.SKColor[] Colours
    )
    public:
    void SetTransferFunction( 
       float Min,
       float Max,
       SkiaSharp.array<SKColor>^ Colours
    ) 

    Parameters

    Min
    The minimum pixel value.
    Max
    The maximum pixel value.
    Colours
    The color array for mapping.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also